package ca.etsmtl.log730.projet.model.user;

import java.io.Serializable;

import org.apache.mina.core.session.IoSession;

public class User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1471526721182871863L;
	private String name;
	private transient IoSession session;
	
	public User(String n) {
		setName(n);
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public IoSession getSession() {
		return session;
	}


	public void setSession(IoSession session) {
		this.session = session;
	}
	
	public String toString() {
		return "NEW USER: " + getName();
	}
}
